using System;
using NUnit.Framework;
using DreamPark;

namespace Tests_Parking
{
	[TestFixture()]
	public class Test_Ticket
	{
		[Test()]
		public void Test_Instanciation () {
			Place p = new Place(1, 2, 200, 300);
			String i = "AZE 23 RTY";
			Ticket ticket = new Ticket("1", p, i);
			
			Assert.AreEqual("1", ticket.NumeroTicket);
			Assert.AreEqual(p, ticket.Place);
			Assert.AreEqual(i, ticket.ImmatriculationVehicule);
		}
	}
}

